package com.yuan.testeasyexcel.two;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: city
 * @Description: TODO
 * @Author MrYuan
 * @Date: 2020/12/11 17:44
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class City {
    @ExcelProperty(index = 1)
    String province;
    @ExcelProperty(index = 2)
    String city;
    @ExcelProperty(index = 3)
    String county;
    @ExcelProperty(index = 4)
    @NumberFormat()
    String GDP;
    @ExcelProperty(index = 8)
    String population;

}